def isPrime(n):
    if n in [0,1,2]:
        return False
    for i in range(2,int(n**(1/2))+1):
        if n%i == 0:
            return False
    return True
n = int(input())
for i in range(3,n-2):
    if n%2 == 0 and isPrime(i) and isPrime(n-i):
        print(f"{n} = {i} + {n-i}")
        break
